﻿<div class="modal" tabindex="-1" role="dialog" data-ng-controller="AddFolderController as newFile">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" ng-show="title">
                <button type="button" class="close" ng-click="$hide()">&times;</button>
                <h4 class="modal-title" ng-bind="title"></h4>
            </div>
            <div class="modal-body">
                <label for="txtName">Folder name</label>
                <input type="text" data-ng-model="newFile.folderName" id="txtName" />
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-ng-click="newFile.addFolder()">Create Folder</button>
                <button type="button" class="btn btn-default" data-ng-click="$hide()">Close</button>
            </div>
        </div>
    </div>
</div>